-- msg_notify_mark_view
-- Create by chendh
-- 通知玩家邮件已阅读

return function(lpc)
    local mailType = lpc.type;
    local mailKey = lpc.mail_key;

    if MailM.isSystemBoard(mailType) then
        MailM.setSystemMailViewed(mailKey);
    elseif MailM.isSystemMail(mailType) then
        MailM.setUserMailViewed(mailKey);
    end
end
